﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business.Entity
{
    public class Mahalleler
    {
        public int MahalleID { get; set; }
        public int IlceID { get; set; }
        public string MahalleAdi { get; set; }

        public Mahalleler()
        {

        }

        public Mahalleler(int pIlceID, string pMahalleAdi)
        {
            IlceID = pIlceID;
            MahalleAdi = pMahalleAdi;
        }

        public Mahalleler(int pMahalleID, int pIlceID, string pMahalleAdi)
        {
            MahalleID = pMahalleID;
            IlceID = pIlceID;
            MahalleID = pMahalleID;
        }

        public override string ToString()
        {
            return MahalleAdi;
        }


    }

}
